package com.tedu.charging.common.pojo.bo;

import com.tedu.charging.common.pojo.param.ChargingProgressParam;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 充电进度数据
 */
@Data
public class ChargeData {
    //订单编号
    private String billId;
    //用户编号
    private Integer userId;
    //枪的编号
    private  Integer gunId;
    //最新的的充电信息
    private ChargingProgressParam lastChargingProgressParam;
    //上一次的充电信息
    private ChargingProgressParam secondToLastChargingProgressParam;
    //电池总度数
    private float totalCapacity;
    /**
     * 每度电费用
     */
    private BigDecimal oneElectricityCost;
    //总费用
    private BigDecimal totalCost;
    //充电开始时间
    private LocalDateTime startTime;


}
